<admintpl file="header" />
<style type="text/css">
.pic-list li {
	margin-bottom: 5px;
}
</style>
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Mlabadmin/index')}">机房列表</a></li>
			<li class="active"><a href="" target="_self">{:L('ADD')}</a></li>
		</ul>
		
			   <form method="post" class="form-horizontal js-ajax-form" action="__CONTROLLER__/add_post">
					<fieldset>
						 <div class="row">
							<div class="span6">
								<div class="control-group">
									<label class="control-label">机房位置</label>
									<div class="controls">
										<input type="text" name="position">
									</div>
								</div>
							</div>	
							<div  class="span6">
								<div class="control-group">
									<label class="control-label">管理区域</label>
									<div class="controls">
										<input type="text" name="area">
									</div>
								</div>
							</div>	
						</div>		
						<div class="row">
							<div class="span6">
								<div class="control-group">
									<label class="control-label">责任人</label>
									<div class="controls">
									<input type="text" name="zrr">
									</div>
								</div>
							</div>							
						</div>	
						<div class="row">
							<div class="span6">
								<div class="control-group">
									<label class="control-label">机房图片</label>
									<div class="controls">
									<fieldset>
									<legend>图片列表</legend>
									<ul id="photos" class="pic-list unstyled"></ul>
									</fieldset>									
									<a href="javascript:;" onclick="javascript:flashupload('albums_images', '图片上传','photos',change_images,'10,gif|jpg|jpeg|png|bmp,0','','','')" class="btn btn-small">选择图片</a>
									</div>
								</div>
							</div>							
						</div>					
					</fieldset>
					<div class="form-actions">
						<button type="submit" class="btn btn-primary js-ajax-submit">{:L('ADD')}</button>
						<a class="btn" href="{:U('Mlabadmin/index')}">{:L('BACK')}</a>
					</div>
				</form>
	</div>	
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/content_addtop.js"></script>
	
</body>
</html>